using System.Collections.Generic;
using Jaws.Core.Web.Entities.Validation.Entities;

namespace Jaws.Core.Web.Entities
{
    public interface IValidation
    {
        /// <summary>
        /// List of broken rules to be used by a Business Base.
        /// </summary>
        List<BrokenRule> BrokenRules { get; set; }

        /// /// <summary>
        /// If the object has broken business rules, use this property to get access
        /// to the different validation messages.
        /// </summary>
        string ValidationMessage { get; }

        }
}